package com.example.fitnessservice.service;

import com.example.fitnessservice.module.pojo.CourseDetails;
import com.example.fitnessservice.module.pojo.CourseDetailsCamp;
import com.example.fitnessservice.module.pojo.CourseOrderDetails;
import com.example.fitnessservice.module.pojo.Place;

import java.util.List;

/**
 * @author feng
 * @version 1.0
 * @&#064;description: TODO
 * @&#064;date 2022/11/21 11:03
 */
public interface UserService {


    List<Place> orderDistance(Double x, Double y);

    public List<CourseDetails> findUserCourse(Integer userId, Integer status, Integer currentPage, Integer pageSize);

    public List<CourseDetailsCamp> findUserCamp(Integer userId, Integer status, Integer currentPage, Integer pageSize);

    public List<CourseDetails> findAllCourse(Integer userId, Integer currentPage, Integer pageSize);

    public List<CourseDetailsCamp> findAllCamp(Integer userId, Integer currentPage, Integer pageSize);

    public double findUserBalance(Integer userId);

    List<CourseOrderDetails> findAllCourseOrder(Integer userId, Integer currentPage, Integer pageSize);

    List<CourseOrderDetails> findCourseOrder(Integer userId, Integer status, Integer currentPage, Integer pageSize);

    List<CourseOrderDetails> findAllCampOrder(Integer userId, Integer currentPage, Integer pageSize);

    List<CourseOrderDetails> findCampOrder(Integer userId, Integer status, Integer currentPage, Integer pageSize);
}
